/*
 *@Description: 返回消息体
 *@Author:  lupan
 *@Date: 2019-07-14 15:52:03
*/

module.exports = {
  msgSuccess: (data = null) => {
    return {
      retunObj: data,
      success: true,
      msgContent: '请求成功'
    }
  },
  msgError: (msg = '服务器异常') => {
    return {
      retunObj: null,
      success: false,
      msgContent: msg
    }
  }
}